package com.uwo.house.beans;

import com.github.wxpay.sdk.WXPayConfig;

import java.io.ByteArrayInputStream;
import java.io.InputStream;

/**
 * Created by dell on 2017/12/6.
 */
public class WeixinConfig implements WXPayConfig {
    private byte[] certData;

    public String getAppID() {
        return "wx47c6bf31f6f320fd";
    }

    public String getMchID() {
        return "1493763482";
    }

    public String getKey() {
        return "LHGF2018LHGF2018LHGF2018LHGF2018";
    }

    public InputStream getCertStream() {
        ByteArrayInputStream certBis = new ByteArrayInputStream(this.certData);
        return certBis;
    }

    public int getHttpConnectTimeoutMs() {
        return 8000;
    }

    public int getHttpReadTimeoutMs() {
        return 10000;
    }
}
